package cool.mor.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author Ivan
 */
@Data
@Entity
@Table(name = "employee")
public class Employee implements Serializable {
    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "hiredate")
    private String hiredate;
    @Column(name = "school")
    private String school;
    @Column(name = "major")
    private String major;
    @Column(name = "education_background")
    private String educationBackground;
    @Column(name = "salary")
    private String salary;
    @Column(name = "position")
    private String position;
    @Column(name = "dept_no")
    private String deptNo;
    @Column(name = "address")
    private String address;
    @Column(name = "cell_phone_number")
    private String cellPhoneNumber;
    @Column(name = "email")
    private String email;
    @Column(name = "politics_status")
    private String politicsStatus;
    @Column(name = "nation")
    private String nation;
    @Column(name = "marital_status")
    private String maritalStatus;
    @Column(name = "id_number")
    private String idNumber;
    @Column(name = "birthday")
    private String birthday;
    @Column(name = "employee_name")
    private String employeeName;
    @Column(name = "employee_sex")
    private String employeeSex;

}